import { ReactNode } from 'react';
import Header from './header';
import BaseLayout from './baselayout';
import api from '../atoms/api';

export default function Layout({ children }: { children: ReactNode; }) {
	return <BaseLayout
		menus={[{
			key: '1',
			label: '首页',
			// icon: '/images/icons/home.svg',
			url: '/home'
		}]}
		title='xxx'
		leftWidth='13rem'
		logo={api.sys.logo}
		header={<Header />}
		headHeight='3.75rem'
	>{children}</BaseLayout>;
}
